package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.entity.SubjectCategoryDTO;
import com.jingdianjichi.subject.application.entity.SubjectLabelDTO;
import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * ClassName :SubjectCategoryConverter
 * Package :com.jingdianjichi.subject.application.convert
 * Desciption :
 *
 * @Author :
 * @Create : 17:20
 * @Version :1.0
 */
@Mapper
public interface SubjectCategoryDTOConverter {

  SubjectCategoryDTOConverter INSTANCE = Mappers.getMapper(SubjectCategoryDTOConverter.class);

  List<SubjectCategoryDTO> convertBoToCategoryDTOList(List<SubjectCategoryBO> subjectCategoryDTO);

  SubjectCategoryBO convertDtoToCategoryBO(SubjectCategoryDTO subjectCategoryDTO);

  SubjectCategoryDTO convertBoToCategoryDTO(SubjectCategoryBO subjectCategoryBO);

}
